<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<table>
</table>
<form action="/SendNews.html">
    <input type="text" name="info">
    <input type="submit" value="发送">
</form>
<table>
    <tr>
        <th>发送人</th>
        <th>发送时间</th>
        <th>发送内容</th>
    </tr>
    <c:forEach items="${newsList}" var="news" varStatus="i">
        <tr>
            <td>${news.user_name}</td>
            <td>${news.time}</td>
            <td>${news.info}</td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
